package com.dragon.modules.yuegou.query.park;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dragon.modules.yuegou.entity.park.DeductionRuleEntity;
import com.dragon.modules.yuegou.enums.park.DeductionRuleDayLimit;
import com.dragon.modules.yuegou.enums.park.DeductionRuleDeductionType;
import com.dragon.modules.yuegou.enums.park.DeductionRuleDefaultUse;
import com.dragon.modules.yuegou.mybatis.Condition;
import com.dragon.modules.yuegou.mybatis.Query;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonUnwrapped;

import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
 * 停车抵扣规则 动态查询条件
 * 
 * @author pbuilder generated
 * @date 2022-05-18 15:36:39
 * @version 2.0
 */
@JsonInclude(Include.NON_NULL)
public class DeductionRuleQuery extends DeductionRuleEntity implements Query<DeductionRuleEntity> {

    /** 查询条件 */
	@JsonUnwrapped(prefix = "id")
	private Condition<String> idCondition;

    /** 商圈ID查询条件 */
	@JsonUnwrapped(prefix = "busdId")
	private Condition<String> busdIdCondition;

    /** [枚举]抵扣方式：1-仅用卷-VOLUME、2-仅用积分-INTEGRAL、3-卷和积分-VOLUME_INTEGRAL、4-卷和积分二选一-COUPON_OR_POINT查询条件 */
	@JsonUnwrapped(prefix = "deductionType")
	private Condition<DeductionRuleDeductionType> deductionTypeCondition;

    /** 最小抵扣单位(积分)查询条件 */
	@JsonUnwrapped(prefix = "unit")
	private Condition<Integer> unitCondition;

    /** 换算查询条件 */
	@JsonUnwrapped(prefix = "unitMoney")
	private Condition<Integer> unitMoneyCondition;

    /** 换算，最小抵扣单位=元查询条件 */
	@JsonUnwrapped(prefix = "money")
	private Condition<BigDecimal> moneyCondition;

    /** 最少抵扣数量（积分）查询条件 */
	@JsonUnwrapped(prefix = "minNum")
	private Condition<Integer> minNumCondition;

    /** 最多抵扣数量（积分查询条件 */
	@JsonUnwrapped(prefix = "maxNum")
	private Condition<Integer> maxNumCondition;

    /** [枚举]是否限制每日抵扣次数：0-不限制-NO、1-限制-YES查询条件 */
	@JsonUnwrapped(prefix = "dayLimit")
	private Condition<DeductionRuleDayLimit> dayLimitCondition;

    /** 每月抵扣次数查询条件 */
	@JsonUnwrapped(prefix = "dayMax")
	private Condition<Integer> dayMaxCondition;

    /** 创建人ID查询条件 */
	@JsonUnwrapped(prefix = "createdBy")
	private Condition<String> createdByCondition;

    /** 创建时间查询条件 */
	@JsonUnwrapped(prefix = "createdTime")
	private Condition<LocalDateTime> createdTimeCondition;

    /** 更新人ID查询条件 */
	@JsonUnwrapped(prefix = "modifiedBy")
	private Condition<String> modifiedByCondition;

    /** 更新时间查询条件 */
	@JsonUnwrapped(prefix = "modifiedTime")
	private Condition<LocalDateTime> modifiedTimeCondition;

    /** 逻辑删除，1表示已删除,0表示未删除查询条件 */
	@JsonUnwrapped(prefix = "del")
	private Condition<Boolean> delCondition;

    /** 删除人ID查询条件 */
	@JsonUnwrapped(prefix = "delBy")
	private Condition<String> delByCondition;

    /** 删除时间查询条件 */
	@JsonUnwrapped(prefix = "delTime")
	private Condition<LocalDateTime> delTimeCondition;

    /** [枚举]默认使用DEDUCTION_TYPE为4时不能为空：1-卷-COUPON、2-积分-POINT、3-智能推荐-RECOMMEND查询条件 */
	@JsonUnwrapped(prefix = "defaultUse")
	private Condition<DeductionRuleDefaultUse> defaultUseCondition;

	/**
	 * 构造一个查询条件对象
	 */
	public DeductionRuleQuery() {
		super();
	}

	/**
	 * 依据实体对象构造一个查询条件对象
	 * 
	 * @param entity 实体对象
	 */
	public DeductionRuleQuery(DeductionRuleEntity entity) {
		super(entity);
	}

	/**
	 * 依据其它查询条件对象的信息构造一个查询条件对象
	 * 
	 * @param other 查询条件对象
	 */
	public DeductionRuleQuery(DeductionRuleQuery other) {
		super(other);
		if (other.idCondition != null) {
			this.idCondition = other.idCondition.copy();
		}
		if (other.busdIdCondition != null) {
			this.busdIdCondition = other.busdIdCondition.copy();
		}
		if (other.deductionTypeCondition != null) {
			this.deductionTypeCondition = other.deductionTypeCondition.copy();
		}
		if (other.unitCondition != null) {
			this.unitCondition = other.unitCondition.copy();
		}
		if (other.unitMoneyCondition != null) {
			this.unitMoneyCondition = other.unitMoneyCondition.copy();
		}
		if (other.moneyCondition != null) {
			this.moneyCondition = other.moneyCondition.copy();
		}
		if (other.minNumCondition != null) {
			this.minNumCondition = other.minNumCondition.copy();
		}
		if (other.maxNumCondition != null) {
			this.maxNumCondition = other.maxNumCondition.copy();
		}
		if (other.dayLimitCondition != null) {
			this.dayLimitCondition = other.dayLimitCondition.copy();
		}
		if (other.dayMaxCondition != null) {
			this.dayMaxCondition = other.dayMaxCondition.copy();
		}
		if (other.createdByCondition != null) {
			this.createdByCondition = other.createdByCondition.copy();
		}
		if (other.createdTimeCondition != null) {
			this.createdTimeCondition = other.createdTimeCondition.copy();
		}
		if (other.modifiedByCondition != null) {
			this.modifiedByCondition = other.modifiedByCondition.copy();
		}
		if (other.modifiedTimeCondition != null) {
			this.modifiedTimeCondition = other.modifiedTimeCondition.copy();
		}
		this.setOther(other);
	}
	private void setOther(DeductionRuleQuery other){
		if(other.delCondition != null) {
			this.delCondition = other.delCondition.copy();
		}
		if(other.delByCondition != null) {
			this.delByCondition = other.delByCondition.copy();
		}
		if(other.delTimeCondition != null) {
			this.delTimeCondition = other.delTimeCondition.copy();
		}
		if(other.defaultUseCondition != null) {
			this.defaultUseCondition = other.defaultUseCondition.copy();
		}
	}

	@Override
	public QueryWrapper<DeductionRuleEntity> toQueryWrapper() {
		QueryWrapper<DeductionRuleEntity> wrapper = new QueryWrapper<>(this);
		if (idCondition != null) {
			idCondition.toWrapper(wrapper, COL_ID);
		}
		if (busdIdCondition != null) {
			busdIdCondition.toWrapper(wrapper, COL_BUSD_ID);
		}
		if (deductionTypeCondition != null) {
			deductionTypeCondition.toWrapper(wrapper, COL_DEDUCTION_TYPE);
		}
		if (unitCondition != null) {
			unitCondition.toWrapper(wrapper, COL_UNIT);
		}
		if (unitMoneyCondition != null) {
			unitMoneyCondition.toWrapper(wrapper, COL_UNIT_MONEY);
		}
		if (moneyCondition != null) {
			moneyCondition.toWrapper(wrapper, COL_MONEY);
		}
		if (minNumCondition != null) {
			minNumCondition.toWrapper(wrapper, COL_MIN_NUM);
		}
		if (maxNumCondition != null) {
			maxNumCondition.toWrapper(wrapper, COL_MAX_NUM);
		}
		if (dayLimitCondition != null) {
			dayLimitCondition.toWrapper(wrapper, COL_DAY_LIMIT);
		}
		if (dayMaxCondition != null) {
			dayMaxCondition.toWrapper(wrapper, COL_DAY_MAX);
		}
		if (createdByCondition != null) {
			createdByCondition.toWrapper(wrapper, COL_CREATED_BY);
		}
		if (createdTimeCondition != null) {
			createdTimeCondition.toWrapper(wrapper, COL_CREATED_TIME);
		}
		if (modifiedByCondition != null) {
			modifiedByCondition.toWrapper(wrapper, COL_MODIFIED_BY);
		}
		if (modifiedTimeCondition != null) {
			modifiedTimeCondition.toWrapper(wrapper, COL_MODIFIED_TIME);
		}
		return getQueryWrapper(wrapper);
	}

	private QueryWrapper<DeductionRuleEntity> getQueryWrapper(QueryWrapper<DeductionRuleEntity> wrapper){
		if (delCondition != null) {
			delCondition.toWrapper(wrapper, COL_DEL);
		}
		if (delByCondition != null) {
			delByCondition.toWrapper(wrapper, COL_DEL_BY);
		}
		if (delTimeCondition != null) {
			delTimeCondition.toWrapper(wrapper, COL_DEL_TIME);
		}
		if (defaultUseCondition != null) {
			defaultUseCondition.toWrapper(wrapper, COL_DEFAULT_USE);
		}
		return wrapper;
	}

	/**
	 * 构造并返回查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> id() {
		this.idCondition = new Condition<>();
		return this.idCondition;
	}
	
	/**
	 * 获取查询条件
	 * 
	 * @return idCondition 查询条件
	 */
	public Condition<String> getIdCondition() {
		return idCondition;
	}

	/**
	 * 设置查询条件
	 * 
	 * @param idCondition 查询条件
	 */
	public void setIdCondition(Condition<String> idCondition) {
		this.idCondition = idCondition;
	}

	/**
	 * 构造并返回商圈ID查询条件
	 * 
	 * @return busdIdCondition 商圈ID查询条件
	 */
	public Condition<String> busdId() {
		this.busdIdCondition = new Condition<>();
		return this.busdIdCondition;
	}
	
	/**
	 * 获取商圈ID查询条件
	 * 
	 * @return busdIdCondition 商圈ID查询条件
	 */
	public Condition<String> getBusdIdCondition() {
		return busdIdCondition;
	}

	/**
	 * 设置商圈ID查询条件
	 * 
	 * @param busdIdCondition 商圈ID查询条件
	 */
	public void setBusdIdCondition(Condition<String> busdIdCondition) {
		this.busdIdCondition = busdIdCondition;
	}

	/**
	 * 构造并返回[枚举]抵扣方式：1-仅用卷-VOLUME、2-仅用积分-INTEGRAL、3-卷和积分-VOLUME_INTEGRAL、4-卷和积分二选一-COUPON_OR_POINT查询条件
	 * 
	 * @return deductionTypeCondition [枚举]抵扣方式：1-仅用卷-VOLUME、2-仅用积分-INTEGRAL、3-卷和积分-VOLUME_INTEGRAL、4-卷和积分二选一-COUPON_OR_POINT查询条件
	 */
	public Condition<DeductionRuleDeductionType> deductionType() {
		this.deductionTypeCondition = new Condition<>();
		return this.deductionTypeCondition;
	}
	
	/**
	 * 获取[枚举]抵扣方式：1-仅用卷-VOLUME、2-仅用积分-INTEGRAL、3-卷和积分-VOLUME_INTEGRAL、4-卷和积分二选一-COUPON_OR_POINT查询条件
	 * 
	 * @return deductionTypeCondition [枚举]抵扣方式：1-仅用卷-VOLUME、2-仅用积分-INTEGRAL、3-卷和积分-VOLUME_INTEGRAL、4-卷和积分二选一-COUPON_OR_POINT查询条件
	 */
	public Condition<DeductionRuleDeductionType> getDeductionTypeCondition() {
		return deductionTypeCondition;
	}

	/**
	 * 设置[枚举]抵扣方式：1-仅用卷-VOLUME、2-仅用积分-INTEGRAL、3-卷和积分-VOLUME_INTEGRAL、4-卷和积分二选一-COUPON_OR_POINT查询条件
	 * 
	 * @param deductionTypeCondition [枚举]抵扣方式：1-仅用卷-VOLUME、2-仅用积分-INTEGRAL、3-卷和积分-VOLUME_INTEGRAL、4-卷和积分二选一-COUPON_OR_POINT查询条件
	 */
	public void setDeductionTypeCondition(Condition<DeductionRuleDeductionType> deductionTypeCondition) {
		this.deductionTypeCondition = deductionTypeCondition;
	}

	/**
	 * 构造并返回最小抵扣单位(积分)查询条件
	 * 
	 * @return unitCondition 最小抵扣单位(积分)查询条件
	 */
	public Condition<Integer> unit() {
		this.unitCondition = new Condition<>();
		return this.unitCondition;
	}
	
	/**
	 * 获取最小抵扣单位(积分)查询条件
	 * 
	 * @return unitCondition 最小抵扣单位(积分)查询条件
	 */
	public Condition<Integer> getUnitCondition() {
		return unitCondition;
	}

	/**
	 * 设置最小抵扣单位(积分)查询条件
	 * 
	 * @param unitCondition 最小抵扣单位(积分)查询条件
	 */
	public void setUnitCondition(Condition<Integer> unitCondition) {
		this.unitCondition = unitCondition;
	}

	/**
	 * 构造并返回换算查询条件
	 * 
	 * @return unitMoneyCondition 换算查询条件
	 */
	public Condition<Integer> unitMoney() {
		this.unitMoneyCondition = new Condition<>();
		return this.unitMoneyCondition;
	}
	
	/**
	 * 获取换算查询条件
	 * 
	 * @return unitMoneyCondition 换算查询条件
	 */
	public Condition<Integer> getUnitMoneyCondition() {
		return unitMoneyCondition;
	}

	/**
	 * 设置换算查询条件
	 * 
	 * @param unitMoneyCondition 换算查询条件
	 */
	public void setUnitMoneyCondition(Condition<Integer> unitMoneyCondition) {
		this.unitMoneyCondition = unitMoneyCondition;
	}

	/**
	 * 构造并返回换算，最小抵扣单位=元查询条件
	 * 
	 * @return moneyCondition 换算，最小抵扣单位=元查询条件
	 */
	public Condition<BigDecimal> money() {
		this.moneyCondition = new Condition<>();
		return this.moneyCondition;
	}
	
	/**
	 * 获取换算，最小抵扣单位=元查询条件
	 * 
	 * @return moneyCondition 换算，最小抵扣单位=元查询条件
	 */
	public Condition<BigDecimal> getMoneyCondition() {
		return moneyCondition;
	}

	/**
	 * 设置换算，最小抵扣单位=元查询条件
	 * 
	 * @param moneyCondition 换算，最小抵扣单位=元查询条件
	 */
	public void setMoneyCondition(Condition<BigDecimal> moneyCondition) {
		this.moneyCondition = moneyCondition;
	}

	/**
	 * 构造并返回最少抵扣数量（积分）查询条件
	 * 
	 * @return minNumCondition 最少抵扣数量（积分）查询条件
	 */
	public Condition<Integer> minNum() {
		this.minNumCondition = new Condition<>();
		return this.minNumCondition;
	}
	
	/**
	 * 获取最少抵扣数量（积分）查询条件
	 * 
	 * @return minNumCondition 最少抵扣数量（积分）查询条件
	 */
	public Condition<Integer> getMinNumCondition() {
		return minNumCondition;
	}

	/**
	 * 设置最少抵扣数量（积分）查询条件
	 * 
	 * @param minNumCondition 最少抵扣数量（积分）查询条件
	 */
	public void setMinNumCondition(Condition<Integer> minNumCondition) {
		this.minNumCondition = minNumCondition;
	}

	/**
	 * 构造并返回最多抵扣数量（积分查询条件
	 * 
	 * @return maxNumCondition 最多抵扣数量（积分查询条件
	 */
	public Condition<Integer> maxNum() {
		this.maxNumCondition = new Condition<>();
		return this.maxNumCondition;
	}
	
	/**
	 * 获取最多抵扣数量（积分查询条件
	 * 
	 * @return maxNumCondition 最多抵扣数量（积分查询条件
	 */
	public Condition<Integer> getMaxNumCondition() {
		return maxNumCondition;
	}

	/**
	 * 设置最多抵扣数量（积分查询条件
	 * 
	 * @param maxNumCondition 最多抵扣数量（积分查询条件
	 */
	public void setMaxNumCondition(Condition<Integer> maxNumCondition) {
		this.maxNumCondition = maxNumCondition;
	}

	/**
	 * 构造并返回[枚举]是否限制每日抵扣次数：0-不限制-NO、1-限制-YES查询条件
	 * 
	 * @return dayLimitCondition [枚举]是否限制每日抵扣次数：0-不限制-NO、1-限制-YES查询条件
	 */
	public Condition<DeductionRuleDayLimit> dayLimit() {
		this.dayLimitCondition = new Condition<>();
		return this.dayLimitCondition;
	}
	
	/**
	 * 获取[枚举]是否限制每日抵扣次数：0-不限制-NO、1-限制-YES查询条件
	 * 
	 * @return dayLimitCondition [枚举]是否限制每日抵扣次数：0-不限制-NO、1-限制-YES查询条件
	 */
	public Condition<DeductionRuleDayLimit> getDayLimitCondition() {
		return dayLimitCondition;
	}

	/**
	 * 设置[枚举]是否限制每日抵扣次数：0-不限制-NO、1-限制-YES查询条件
	 * 
	 * @param dayLimitCondition [枚举]是否限制每日抵扣次数：0-不限制-NO、1-限制-YES查询条件
	 */
	public void setDayLimitCondition(Condition<DeductionRuleDayLimit> dayLimitCondition) {
		this.dayLimitCondition = dayLimitCondition;
	}

	/**
	 * 构造并返回每月抵扣次数查询条件
	 * 
	 * @return dayMaxCondition 每月抵扣次数查询条件
	 */
	public Condition<Integer> dayMax() {
		this.dayMaxCondition = new Condition<>();
		return this.dayMaxCondition;
	}
	
	/**
	 * 获取每月抵扣次数查询条件
	 * 
	 * @return dayMaxCondition 每月抵扣次数查询条件
	 */
	public Condition<Integer> getDayMaxCondition() {
		return dayMaxCondition;
	}

	/**
	 * 设置每月抵扣次数查询条件
	 * 
	 * @param dayMaxCondition 每月抵扣次数查询条件
	 */
	public void setDayMaxCondition(Condition<Integer> dayMaxCondition) {
		this.dayMaxCondition = dayMaxCondition;
	}

	/**
	 * 构造并返回创建人ID查询条件
	 * 
	 * @return createdByCondition 创建人ID查询条件
	 */
	public Condition<String> createdBy() {
		this.createdByCondition = new Condition<>();
		return this.createdByCondition;
	}
	
	/**
	 * 获取创建人ID查询条件
	 * 
	 * @return createdByCondition 创建人ID查询条件
	 */
	public Condition<String> getCreatedByCondition() {
		return createdByCondition;
	}

	/**
	 * 设置创建人ID查询条件
	 * 
	 * @param createdByCondition 创建人ID查询条件
	 */
	public void setCreatedByCondition(Condition<String> createdByCondition) {
		this.createdByCondition = createdByCondition;
	}

	/**
	 * 构造并返回创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> createdTime() {
		this.createdTimeCondition = new Condition<>();
		return this.createdTimeCondition;
	}
	
	/**
	 * 获取创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> getCreatedTimeCondition() {
		return createdTimeCondition;
	}

	/**
	 * 设置创建时间查询条件
	 * 
	 * @param createdTimeCondition 创建时间查询条件
	 */
	public void setCreatedTimeCondition(Condition<LocalDateTime> createdTimeCondition) {
		this.createdTimeCondition = createdTimeCondition;
	}

	/**
	 * 构造并返回更新人ID查询条件
	 * 
	 * @return modifiedByCondition 更新人ID查询条件
	 */
	public Condition<String> modifiedBy() {
		this.modifiedByCondition = new Condition<>();
		return this.modifiedByCondition;
	}
	
	/**
	 * 获取更新人ID查询条件
	 * 
	 * @return modifiedByCondition 更新人ID查询条件
	 */
	public Condition<String> getModifiedByCondition() {
		return modifiedByCondition;
	}

	/**
	 * 设置更新人ID查询条件
	 * 
	 * @param modifiedByCondition 更新人ID查询条件
	 */
	public void setModifiedByCondition(Condition<String> modifiedByCondition) {
		this.modifiedByCondition = modifiedByCondition;
	}

	/**
	 * 构造并返回更新时间查询条件
	 * 
	 * @return modifiedTimeCondition 更新时间查询条件
	 */
	public Condition<LocalDateTime> modifiedTime() {
		this.modifiedTimeCondition = new Condition<>();
		return this.modifiedTimeCondition;
	}
	
	/**
	 * 获取更新时间查询条件
	 * 
	 * @return modifiedTimeCondition 更新时间查询条件
	 */
	public Condition<LocalDateTime> getModifiedTimeCondition() {
		return modifiedTimeCondition;
	}

	/**
	 * 设置更新时间查询条件
	 * 
	 * @param modifiedTimeCondition 更新时间查询条件
	 */
	public void setModifiedTimeCondition(Condition<LocalDateTime> modifiedTimeCondition) {
		this.modifiedTimeCondition = modifiedTimeCondition;
	}

	/**
	 * 构造并返回逻辑删除，1表示已删除,0表示未删除查询条件
	 * 
	 * @return delCondition 逻辑删除，1表示已删除,0表示未删除查询条件
	 */
	public Condition<Boolean> del() {
		this.delCondition = new Condition<>();
		return this.delCondition;
	}
	
	/**
	 * 获取逻辑删除，1表示已删除,0表示未删除查询条件
	 * 
	 * @return delCondition 逻辑删除，1表示已删除,0表示未删除查询条件
	 */
	public Condition<Boolean> getDelCondition() {
		return delCondition;
	}

	/**
	 * 设置逻辑删除，1表示已删除,0表示未删除查询条件
	 * 
	 * @param delCondition 逻辑删除，1表示已删除,0表示未删除查询条件
	 */
	public void setDelCondition(Condition<Boolean> delCondition) {
		this.delCondition = delCondition;
	}

	/**
	 * 构造并返回删除人ID查询条件
	 * 
	 * @return delByCondition 删除人ID查询条件
	 */
	public Condition<String> delBy() {
		this.delByCondition = new Condition<>();
		return this.delByCondition;
	}
	
	/**
	 * 获取删除人ID查询条件
	 * 
	 * @return delByCondition 删除人ID查询条件
	 */
	public Condition<String> getDelByCondition() {
		return delByCondition;
	}

	/**
	 * 设置删除人ID查询条件
	 * 
	 * @param delByCondition 删除人ID查询条件
	 */
	public void setDelByCondition(Condition<String> delByCondition) {
		this.delByCondition = delByCondition;
	}

	/**
	 * 构造并返回删除时间查询条件
	 * 
	 * @return delTimeCondition 删除时间查询条件
	 */
	public Condition<LocalDateTime> delTime() {
		this.delTimeCondition = new Condition<>();
		return this.delTimeCondition;
	}
	
	/**
	 * 获取删除时间查询条件
	 * 
	 * @return delTimeCondition 删除时间查询条件
	 */
	public Condition<LocalDateTime> getDelTimeCondition() {
		return delTimeCondition;
	}

	/**
	 * 设置删除时间查询条件
	 * 
	 * @param delTimeCondition 删除时间查询条件
	 */
	public void setDelTimeCondition(Condition<LocalDateTime> delTimeCondition) {
		this.delTimeCondition = delTimeCondition;
	}

	/**
	 * 构造并返回[枚举]默认使用DEDUCTION_TYPE为4时不能为空：1-卷-COUPON、2-积分-POINT、3-智能推荐-RECOMMEND查询条件
	 * 
	 * @return defaultUseCondition [枚举]默认使用DEDUCTION_TYPE为4时不能为空：1-卷-COUPON、2-积分-POINT、3-智能推荐-RECOMMEND查询条件
	 */
	public Condition<DeductionRuleDefaultUse> defaultUse() {
		this.defaultUseCondition = new Condition<>();
		return this.defaultUseCondition;
	}
	
	/**
	 * 获取[枚举]默认使用DEDUCTION_TYPE为4时不能为空：1-卷-COUPON、2-积分-POINT、3-智能推荐-RECOMMEND查询条件
	 * 
	 * @return defaultUseCondition [枚举]默认使用DEDUCTION_TYPE为4时不能为空：1-卷-COUPON、2-积分-POINT、3-智能推荐-RECOMMEND查询条件
	 */
	public Condition<DeductionRuleDefaultUse> getDefaultUseCondition() {
		return defaultUseCondition;
	}

	/**
	 * 设置[枚举]默认使用DEDUCTION_TYPE为4时不能为空：1-卷-COUPON、2-积分-POINT、3-智能推荐-RECOMMEND查询条件
	 * 
	 * @param defaultUseCondition [枚举]默认使用DEDUCTION_TYPE为4时不能为空：1-卷-COUPON、2-积分-POINT、3-智能推荐-RECOMMEND查询条件
	 */
	public void setDefaultUseCondition(Condition<DeductionRuleDefaultUse> defaultUseCondition) {
		this.defaultUseCondition = defaultUseCondition;
	}

}
